package com.bj.disc.util

import com.ai3d.rfid.base.app.App

/**
 * @ProjectName : disc
 * @Author : weijinsong
 * @Time : 2023/7/3 22:28
 * @Description : 文件描述
 */
object DiscConstants {
    const val HEADER_CONTENT_TOKEN = "token"
    const val HEADER_CONTENT_LANGUAGE = "content-language"
    const val HEADER_CONTENT_LANGUAGE_EN_US = "en_US"
    const val HEADER_CONTENT_LANGUAGE_ZH_CN = "zh_CN"
    const val HEADER_CONTENT_LANGUAGE_HOKKIEN = "Hokkien"// 福建话
    const val HEADER_CONTENT_LANGUAGE_CANTONESE = "Cantonese"// 粤语
    const val HEADER_CONTENT_LANGUAGE_TAMIL = "Tamil"//泰米尔
    const val HEADER_CONTENT_LANGUAGE_MALAY = "Malay"//马来语
    const val REGISTER_GENDER_MAN = 1
    const val REGISTER_GENDER_WOMAN = 2
    const val REGISTER_RACE_MALAY = 1
    const val REGISTER_RACE_INDIAN = 2
    const val REGISTER_RACE_CHINESE = 3
    const val REGISTER_RACE_OTHERS = 4

    //
    const val EXTRA_GAME_NAME = "extra_game_name"
    const val GAME_NAME_OC = 1
    const val GAME_NAME_VF = 2
    const val GAME_NAME_UOT = 3

    const val GAME_LEVEL_ONE = 1
    const val GAME_LEVEL_TWO = 2
    const val GAME_LEVEL_THREE = 3

    const val STAGE_TYPE_TIPS = 1
    const val STAGE_TYPE_RELEASE = 2

    //主题
    const val GAME_THEM_RESET = "reset"
    const val GAME_THEM_LOGIN = "login"
    const val GAME_THEM_LOGOUT = "logout"

    //事件常量
    const val EVENT_TYPE_LOGIN = 1
    const val EVENT_TYPE_LOGOUT = 2
    const val EVENT_TYPE_START_GAME = 3
    const val EVENT_TYPE_END_GAME = 4
    const val EVENT_TYPE_CORRECT_CLICK = 5
    const val EVENT_TYPE_ERROR_CLICK = 6
    const val EVENT_TYPE_AUTO_PROMPT_START = 7
    const val EVENT_TYPE_AUTO_PROMPT_END = 8
    const val EVENT_TYPE_ACTIVE_PROMPT_START = 9
    const val EVENT_TYPE_ACTIVE_PROMPT_END = 10
    const val EVENT_TYPE_RESET = 11
    const val EVENT_TYPE_SOUND_RECORDING_START = 12
    const val EVENT_TYPE_SOUND_RECORDING_END = 13

    //资源包链接
    const val RESOURCE_ZIP_URL = "https://filepark.obs.cn-east-3.myhuaweicloud.com/static.zip"
    const val RESOURCE_ZIP_BASE_URL = "https://filepark.obs.cn-east-3.myhuaweicloud.com"
    const val RESOURCE_ZIP_PATH_URL = "https://filepark.obs.cn-east-3.myhuaweicloud.com"
    var DOWNLOAD_FILE_STATIC_FILE_NAME = "static"
    var DOWNLOAD_FILE_STATIC_FILE_NAME_ZIP = "static.zip"
    var DOWNLOAD_FILE_STATIC_DIR = "${App.instance.filesDir.absolutePath}/"
//    var DOWNLOAD_FILE_STATIC_DIR = "${App.instance.getExternalFilesDir(null)?.absolutePath}/"

    var DOWNLOAD_FILE_STATIC_FILE_PATH =
        "$DOWNLOAD_FILE_STATIC_DIR$DOWNLOAD_FILE_STATIC_FILE_NAME_ZIP"
}